package org.snw;

public class NodeWeight {

    private String name;
    private int weight;
    private int curWeight;

    public NodeWeight(String name, int weight) {
        this(name, weight, weight);
    }

    public NodeWeight(String name, int weight, int curWeight) {
        this.name = name;
        this.weight = weight;
        this.curWeight = curWeight;
    }

    public String getName() {
        return name;
    }

    public int getWeight() {
        return weight;
    }

    public int getCurWeight() {
        return curWeight;
    }

    @Override
    public String toString() {
        return "NodeWeight{" +
                "name='" + name + '\'' +
                ", weight=" + weight +
                ", curWeight=" + curWeight +
                '}';
    }
}
